function getHelp(str, article_sw) { if (str && str.length > 0) { var _url = ""; if (article_sw) _url = "https://ablsoft.freshdesk.com/login2.php?article=" + str; else _url = "https://ablsoft.freshdesk.com/login2.php?keywords=" + str; _url += "&member_username="; _url += "&member_password="; window.open(_url); return; } window.open("https://ablsoft.freshdesk.com"); } function getHelpArticle(str) { if (str != null && str.trim().length > 0) { } window.open("https://ablsoft.freshdesk.com"); } function getVideo(str) { if (str != null && str.trim().length > 0) { } window.open("https://ablsoft.freshdesk.com"); }